<template>
  <div class="home">
    <!-- 头部查询 -->
    <div class="home_header">
      <HeaderBar></HeaderBar>
    </div>
    <!-- 主内容 -->
    <div class="home_content">
      <router-view/>
    </div>
    <!-- 底部栏 -->
    <div class="home_footer">
      <div class="footer">
        <FooterBar></FooterBar>
      </div>
    </div>
  </div>
</template>
<script>
import FooterBar from '@/components/Footer_bar'
import HeaderBar from '@/components/Header_bar'
export default {
  components: {
    FooterBar,
    HeaderBar
  },
  data () {
    return {
    }
  },
  created () {
    // console.log(this.$api, 'apiapi')
  },
  methods: {
  }
}
</script>
<style lang='less'>
.home {
  width: 100%;
  height: 100%;
  .home_header {
    width: 100%;
    height: 45px;
    /* position: fixed; */
  }
  .home_content{
    width: 100%;
    /* height: 100%; */
    /* padding: 45px 0px 50px 0px; */
    padding-bottom: 50px;
    overflow: auto;
  }
  .home_footer{
    width: 100%;
    height: 49px;
    background-color: #ffffff;
    position: fixed;
    bottom: 0px;
    .footer{
      width: 100%;
      height: 100%;
    }
  }
}
</style>
